#include "base.h"

namespace Book
{
namespace Format
{

DataPtr Base::ReadBook(const Book::FileInfo& _file)
{
    m_BookData.reset(new Book::Data(_file, GetFormatName()));

    ProcessBookFile();

    return m_BookData;
}

}
}

